import shutil
import os
import random

i = 1
n = 278

pathDir = os.listdir('datasets/gmot_test/test')
sample1 = random.sample(pathDir, 756)
for name in sample1:
    shutil.move("datasets/gmot_test/test/%s"%(name), "datasets/gmot_test/query")

# print(sample1)
# for sen in os.listdir('datasets/bee_test/test'):
#     print(sen)
#     shutil.move("datasets/bee_test/test/%s"%(sen), "datasets/bee_test/query")
#     i += 1
#     if i == n:
#         break 
    # shutil.move("datasets/bee_test/test/0001_c1s13_000001_01.jpg", "datasets/bee_test/query")
    # shutil.move("datasets/bee_test/test/0001_c1s16_000001_01.jpg", "datasets/bee_test/query")